package com.atguigu.service.product;

import com.atguigu.entity.product.ProductSpec;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ProductSpecService {
    List<ProductSpec> findAll();

    PageInfo<ProductSpec> findByPage(Integer current, Integer limit);

    void save(ProductSpec productSpec);

    void updateById(ProductSpec productSpec);

    void deleteById(Long id);
}
